home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-SIG: World of Education
/
PC-SiG's World of Education.iso
/
run
/
3652
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1992-09-30
|
3KB
|
95 lines
@echo off
cls
Echo * Test PowWare installation ...
if "%1"=="" goto Error
echo *
echo * Install will copy Test PowWare files to %1
echo * if this is not what you wish, press Ctrl-Break now, otherwise
pause
cls
if not exist %1\NUL mkdir %1
if not exist %1\NUL goto Error
echo * Copying files
echo *
echo * Copying Test PowWare executable file
copy tp.exe %1 /v >nul
copy tp.abt %1 /v >nul
copy install.bat %1 /v >nul
echo * Copying Test PowWare readme file
copy readme.exe %1 /v >nul
copy manual.edt %1 /v >nul
copy order.edt %1 /v >nul
copy userinpt.edt %1 /v >nul
copy note.edt %1 /v >nul
copy chars.edt %1 /v >nul
if exist add&corr.edt copy add&corr.edt %1 /v >nul
echo * Copying sample test and editor files
copy thistest.bnk %1 /v >nul
copy thistest.edt %1 /v >nul
copy thistest.ans %1 /v >nul
echo * Copying student answer forms
copy abh010D1.abk %1 /v >nul
copy abh025D1.abk %1 /v >nul
copy abh050D1.abk %1 /v >nul
copy abh050S1.abk %1 /v >nul
copy abh100D1.abk %1 /v >nul
copy abh100S1.abk %1 /v >nul
copy abh100S2.abk %1 /v >nul
copy abv010D1.abk %1 /v >nul
copy abv010S1.abk %1 /v >nul
copy abv020D1.abk %1 /v >nul
copy abv025D1.abk %1 /v >nul
copy abv100D1.abk %1 /v >nul
copy a_h010D4.abk %1 /v >nul
copy a_v010D1.abk %1 /v >nul
copy a_v010S1.abk %1 /v >nul
copy alternat.abk %1 /v >nul
if not exist %1\TP.exe goto NoInstall
goto NoError
:NoInstall
echo * Installation has failed. Some files were not installed.
echo * Possible reasons: Disk full, Unformatted Disk, Bad sectors on disk
echo * Consult your DOS reference manual for futher information.
echo * Try installing Test PowWare on a different disk.
goto Failed
:Error
echo *
echo *
echo * Put the Test PowWare disk in drive "A" or "B".
echo * Type "A:" or "B:" depending upon which drive you insterted
echo * the Test PowWare disk. (Omit the quotes)
echo * Type Install followed by a valid drive and pathname, eg:
echo * INSTALL C:\TestPowr
echo * Note: If the directory does not exist it will be created.
echo *
echo * Or, you can just use a drive if you want to make a
echo * back up floppy, eg: INSTALL B:
echo * this will make a copy of Test PowWare on drive "B"
:Failed
echo *
echo * Unable to install Test PowWare
echo *
goto Done
:NoError
cls
echo *
echo * Test PowWare has been successfully copied.
echo *
echo * To run Test PowWare,
echo * Change your drive and directory to " %1 "
echo * First change to the proper drive by typing its letter followed by a
echo * colon (:). Then type cd\ followed by the directory name (if any).
echo * Then type TP and press enter.
echo *
echo * Test PowWare should then load.
echo * If Test PowWare detects that you have insufficient memory to run the
echo * program, it will not run. Move to a computer with 512K of RAM and
echo * repeat the installation process.
:Done